import { useState } from 'react';
import { NavBar, List, Space, Image, Switch, Button } from 'antd-mobile';
import { useHistory } from 'react-router-dom';

import './style.scss';

export default function() {
  const history = useHistory();

  return (<div className="myQrCodePage">
    <NavBar onBack={() => history.goBack()} style={{ background: '#fff', border: 'none' }}>我的二维码</NavBar>
    <div className="codeBox">
      <div className="code"></div>
      扫一扫加我好友
    </div>
  </div>)
}